<style>
.fe-floatright-bottom .icon {
    display: block;
    width: 1.6rem;
    height: 1.6rem;
    border-radius: 100%;
    color: #fff;
    line-height: 1.6rem;
}
</style>
<div class='fui-page fui-page-current'>
	<div class='fui-content member-page'>
			<div style="margin:0.5rem;">
					<div class="memlogo-area" style="background: #55bd47;">
						<div class="bold name">
						{{pagedata.item.title || '账本名称'}} 
						</div>
						<br>
						<div class="name">账本ID：{{pagedata.item.id}} <span ng-if="pagedata.issub==1" class="label label-warning" style="" href="javascript:;" ng-click="pagedata.showpassword=true">设置密码</span></div>
						<div class="code" style="margin-top: -1rem;">
							<div class="jylabel jylabel-info" href="javascript:;" ng-click="access_json('jy_jifee/month//pid='+pagedata.item.id)" style="border: 1px solid #fff;color:#fff;">月账单</div>
						</div>
						<div class="bot">
							<div class="jy-2">
							<h4 href="javascript:;">总支出</h4>
							<h3 style="margin-top:0">{{pagedata.data.chufee || 0.00}}</h3>
							</div>
							<div class="jy-2">
							<h4 href="javascript:;">总收入</h4>
							<h3 style="margin-top:0">{{pagedata.data.addfee || 0.00}}</h3>
							</div>
						</div>
					</div>
			</div>
			<div style="padding:0 0.5rem">
			<div class="fui-tab fui-tab-danger">
				<a ng-class="{'external active':pagedata.params.type == '0'}" href="javascript:" ng-click="pagedata.params.type='0';tool.get_list('jy_jifee/item/getlist/',true);">出帐明细</a>
				<a ng-class="{'external active':pagedata.params.type == '1'}" href="javascript:" ng-click="pagedata.params.type='1';tool.get_list('jy_jifee/item/getlist/',true);">进帐明细</a>
			</div>
			<div class='fui-list-group container' ng-show="pagedata.list.length>0" >
				<div class="fui-list goods-item" ng-repeat="item in pagedata.list">
					<div class="fui-list-inner">
						<div class='bold'>{{item.days}}</div>
						<div class='title'>
							<span class="label label-success">{{item.grouptitle}}</span>
							<span class="red" style="margin-left:0.3rem">￥{{item.fee}}</span>
						</div>
						<div class='gray' style="font-size:0.6rem">{{item.desc}}</div>
						
					</div>
					<div class='fui-list-angle' ng-if="pagedata.issub==1" ng-click="access_json('jy_jifee/sub//id='+item.id+'&type='+pagedata.params.type)">
							<span class='btn btn-danger'>编辑 >></span>
					</div>
				</div>
			</div>
			</div>
			<div class='content-empty' ng-show="!pagedata.list || pagedata.list.length<=0">
				<i class='fa fa-comment-o'></i><br/>暂时没有任何记录!
			</div>
	</div>
</div>
<div ng-if="pagedata.showpassword" class="popup">
	<div class="popup-body">
		<div class="popup-center" style="background:{{main.syscolor || '#63BE72'}}">
			<style>
				input{ caret-color: #fff}
				.fui-cell-group .fui-cell .fui-cell-info  ::-webkit-input-placeholder{
					color: #fff
				}
				.fui-cell-group .fui-cell .fui-cell-info {
					font-size: 0.85rem;
					color: #fff;
				}
			</style>
			<i class="closed icon icon-cuowu" ng-click="pagedata.showpassword=false"></i>
			 <div class='fui-cell-group fui-cell-group-o' style="margin:0.5rem 1rem;padding-top:0.5rem;background:{{main.syscolor || '#63BE72'}}">
				<div class='fui-cell-title c' style="color:#fff">您正在进行“设置查看密码”操作
				</div>
				<div class='fui-cell'>
					<div class='fui-cell-label big' style='width:auto;color:#fff'><i class="icon icon-password"  style="font-size:0.8rem"></i></div>
					<div class='fui-cell-info'><input type='password' class='fui-input' placeholder="查看密码" ng-model="pagedata.post.password"></div>
				</div>
			</div>
			<div class="weui_btn_area" style="margin:2rem;">
				<a class='weui_btn weui_btn_primary' style="border-radius:1rem;background-color:#fff;color:{{main.syscolor || '#63BE72'}}" ng-click="post(pagedata.post,'password')">确认提交</a>
			</div>
		</div>
	</div>
</div>
<div class="fe-floatright-bottom" style="bottom:4rem">
	<div class="icon" style="border-radius: 100%;background-color: {{main.syscolor || '#63BE72'}};width:" href="javascript:;" ng-click="access_json('jy_jifee/sub//pid='+pagedata.item.id)">
		<i class="icon icon-tianjia" style="color:#fff;font-size:1.1rem;"></i>
	</div>
</div>
<div class="fe-floatright-bottom" style="bottom:1rem">
	<div class="icon" style="border-radius: 100%;background-color: {{main.syscolor || '#63BE72'}};width:" href="javascript:;" ng-click="access_json('jy_jifee/index/')">
		<i class="icon icon-shouye" style="color:#fff;font-size:1.1rem;"></i>
	</div>
</div>
<script>
scope.pagedata.geturl='jy_jifee/item/getlist/'
scope.tool.get_list(scope.pagedata.geturl,true);
scope.pagedata.scroll_bottom=function(){
	scope.tool.get_list(scope.pagedata.geturl);
}
</script>